<form action="<?php echo url('book/insert'); ?>" method="post" enctype="multipart/form-data">
    <label for="cover">Cover</label>
    <input type="file" name="cover" />
    <br/>
    <label for="name">Name</label>
    <input type="text" name="name" />
    <br/>
    <label for="author">Author</label>
    <input type="text" name="author" />
    <br/>
    <label for="page">Page</label>
    <input type="text" name="page" />
    <br/>
    <input type="submit" value="Insert" />
    <a href="<?php echo url('book/index'); ?>">返回列表</a>
</form>